Class: Kaui::Tag
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#==, all, #attributes=, camelize, convert_hash_keys, count, define_attr, #destroy, find, from_json, has_many, has_one, human_attribute_name, #initialize, lookup_ancestors, #new_record?, #persisted?, #read_attribute_for_validation, #save, #to_hash, to_money, #to_param, #update_attributes
Constructor Details
This class inherits a constructor from Kaui::Base
Instance Method Details
#<=>(tag) ⇒ Object
11 12 13 |
# File 'app/models/kaui/tag.rb', line 11 def <=>(tag) @tag_definition_name <=> tag.tag_definition_name end |
#is_system_tag? ⇒ Boolean
7 8 9 |
# File 'app/models/kaui/tag.rb', line 7 def is_system_tag? Kaui::TagDefinition(:id => tag_definition_id).is_system_tag? end |