class Cornichon::Config
Public Class Methods
configure(opts)
click to toggle source
# File lib/cornichon/config.rb, line 4 def configure(opts) @relative_feature_path = opts[:features_path] if opts[:features_path] @relative_template_path = opts[:templates_path] if opts[:templates_path] @relative_presenter_path = opts[:presenters_path] if opts[:presenters_path] end
relative_feature_path()
click to toggle source
# File lib/cornichon/config.rb, line 10 def relative_feature_path @relative_feature_path ||= 'features/cornichon/features' end
relative_presenter_path()
click to toggle source
# File lib/cornichon/config.rb, line 18 def relative_presenter_path @relative_presenter_path ||= 'features/cornichon/presenters' end
relative_template_path()
click to toggle source
# File lib/cornichon/config.rb, line 14 def relative_template_path @relative_template_path ||= 'features/cornichon/templates' end