Module: HasDictionary

Extended by:
ActiveSupport::Concern
Defined in:
lib/has_dictionary.rb,
lib/has_dictionary/has_dictionary.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#squawk(string) ⇒ Object



19
20
21
# File 'lib/has_dictionary/has_dictionary.rb', line 19

def squawk(string)
  write_attribute(self.class.yaffle_text_field, string.to_squawk)
end