Class: Expressir::Liquid::Declarations::UniqueRuleDrop
- Inherits:
-
Expressir::Liquid::DeclarationDrop
- Object
- Liquid::Drop
- ModelElementDrop
- Expressir::Liquid::DeclarationDrop
- Expressir::Liquid::Declarations::UniqueRuleDrop
- Includes:
- IdentifierDrop
- Defined in:
- lib/expressir/liquid/declarations/unique_rule_drop.rb
Instance Method Summary collapse
- #attributes ⇒ Object
-
#initialize(model) ⇒ UniqueRuleDrop
constructor
A new instance of UniqueRuleDrop.
Methods included from IdentifierDrop
#id, #initialize_identifier, #remark_items, #remarks, #source
Methods inherited from ModelElementDrop
Constructor Details
#initialize(model) ⇒ UniqueRuleDrop
Returns a new instance of UniqueRuleDrop.
9 10 11 12 13 |
# File 'lib/expressir/liquid/declarations/unique_rule_drop.rb', line 9 def initialize(model) @model = model initialize_identifier(@model) super end |
Instance Method Details
#attributes ⇒ Object
15 16 17 |
# File 'lib/expressir/liquid/declarations/unique_rule_drop.rb', line 15 def attributes drop_klass_by_model(@model.attributes) end |