Class: Placet::Relation
- Inherits:
-
Struct
- Object
- Struct
- Placet::Relation
- Defined in:
- lib/placet/dsl.rb
Overview
relation は check(個体判定)と scope(一覧用の逆写像)を必ずペアで宣言する
Instance Attribute Summary collapse
-
#check ⇒ Object
Returns the value of attribute check.
-
#name ⇒ Object
Returns the value of attribute name.
-
#scope ⇒ Object
Returns the value of attribute scope.
Instance Attribute Details
#check ⇒ Object
Returns the value of attribute check
32 33 34 |
# File 'lib/placet/dsl.rb', line 32 def check @check end |
#name ⇒ Object
Returns the value of attribute name
32 33 34 |
# File 'lib/placet/dsl.rb', line 32 def name @name end |
#scope ⇒ Object
Returns the value of attribute scope
32 33 34 |
# File 'lib/placet/dsl.rb', line 32 def scope @scope end |