Class: ActiveFacts::Metamodel::LinkFactType::ImplicitReading::ImplicitReadingRoleSequence::ImplicitReadingRoleRef
- Inherits:
-
Object
- Object
- ActiveFacts::Metamodel::LinkFactType::ImplicitReading::ImplicitReadingRoleSequence::ImplicitReadingRoleRef
- Defined in:
- lib/activefacts/vocabulary/extensions.rb
Instance Attribute Summary collapse
-
#role ⇒ Object
readonly
Returns the value of attribute role.
-
#role_sequence ⇒ Object
readonly
Returns the value of attribute role_sequence.
Instance Method Summary collapse
- #describe ⇒ Object
-
#initialize(role, role_sequence) ⇒ ImplicitReadingRoleRef
constructor
A new instance of ImplicitReadingRoleRef.
- #leading_adjective ⇒ Object
- #play ⇒ Object
- #trailing_adjective ⇒ Object
- #variable ⇒ Object
Constructor Details
#initialize(role, role_sequence) ⇒ ImplicitReadingRoleRef
Returns a new instance of ImplicitReadingRoleRef.
873 874 875 876 |
# File 'lib/activefacts/vocabulary/extensions.rb', line 873 def initialize(role, role_sequence) @role = role @role_sequence = role_sequence end |
Instance Attribute Details
#role ⇒ Object (readonly)
Returns the value of attribute role.
871 872 873 |
# File 'lib/activefacts/vocabulary/extensions.rb', line 871 def role @role end |
#role_sequence ⇒ Object (readonly)
Returns the value of attribute role_sequence.
872 873 874 |
# File 'lib/activefacts/vocabulary/extensions.rb', line 872 def role_sequence @role_sequence end |
Instance Method Details
#describe ⇒ Object
881 882 883 |
# File 'lib/activefacts/vocabulary/extensions.rb', line 881 def describe @role.object_type.name end |
#leading_adjective ⇒ Object
879 |
# File 'lib/activefacts/vocabulary/extensions.rb', line 879 def leading_adjective; nil; end |
#play ⇒ Object
878 |
# File 'lib/activefacts/vocabulary/extensions.rb', line 878 def play; nil; end |
#trailing_adjective ⇒ Object
880 |
# File 'lib/activefacts/vocabulary/extensions.rb', line 880 def trailing_adjective; nil; end |
#variable ⇒ Object
877 |
# File 'lib/activefacts/vocabulary/extensions.rb', line 877 def variable; nil; end |