Module: Zymurgy::ClassMethods

Defined in:
lib/zymurgy/acts_as_brewery.rb,
lib/zymurgy/acts_as_brew_recipe.rb,
lib/zymurgy/acts_as_fermentable.rb,
lib/zymurgy/acts_as_hop_addition.rb

Overview

TODO: Not convinced we actually need an acts_as_brewery as yet. Maybe later.

TODO: Provide options helper if attributes aren’t as assumed.

Instance Method Summary collapse

Instance Method Details

#acts_as_brew_recipe(options = {}) ⇒ Object



7
8
9
# File 'lib/zymurgy/acts_as_brew_recipe.rb', line 7

def acts_as_brew_recipe(options = {})
  send :include, InstanceMethods
end

#acts_as_brewery(options = {}) ⇒ Object



9
10
11
# File 'lib/zymurgy/acts_as_brewery.rb', line 9

def acts_as_brewery(options = {})
  send :include, InstanceMethods
end

#acts_as_fermentable(options = {}) ⇒ Object



7
8
9
# File 'lib/zymurgy/acts_as_fermentable.rb', line 7

def acts_as_fermentable(options = {})
  send :include, InstanceMethods
end

#acts_as_hop_addition(options = {}) ⇒ Object



7
8
9
# File 'lib/zymurgy/acts_as_hop_addition.rb', line 7

def acts_as_hop_addition(options = {})
  send :include, InstanceMethods
end