Class: Kaui::PluginInfo
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
#property(key) ⇒ Object
6 7 8 9 |
# File 'app/models/kaui/plugin_info.rb', line 6 def property(key) prop = properties.find { |prop| prop.key == key } unless properties.nil? prop.value unless prop.nil? end |