Module: Vodka::Configurable
Instance Method Summary collapse
Instance Method Details
#config ⇒ Object
32 33 34 |
# File 'lib/vodka/configuration.rb', line 32 def config @config ||= Configuration.new end |
#configure {|config| ... } ⇒ Object
36 37 38 39 |
# File 'lib/vodka/configuration.rb', line 36 def configure yield config if block_given? config.configure_her! if config.her_auto_configure end |