Class: Pinspec::FactoryAttribute
- Inherits:
-
Data
- Object
- Data
- Pinspec::FactoryAttribute
- Defined in:
- lib/pinspec/types.rb
Instance Attribute Summary collapse
-
#factory ⇒ Object
readonly
Returns the value of attribute factory.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
Instance Attribute Details
#factory ⇒ Object (readonly)
Returns the value of attribute factory
311 312 313 |
# File 'lib/pinspec/types.rb', line 311 def factory @factory end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
311 312 313 |
# File 'lib/pinspec/types.rb', line 311 def kind @kind end |
#line ⇒ Object (readonly)
Returns the value of attribute line
311 312 313 |
# File 'lib/pinspec/types.rb', line 311 def line @line end |
#name ⇒ Object (readonly)
Returns the value of attribute name
311 312 313 |
# File 'lib/pinspec/types.rb', line 311 def name @name end |
#source ⇒ Object (readonly)
Returns the value of attribute source
311 312 313 |
# File 'lib/pinspec/types.rb', line 311 def source @source end |
Instance Method Details
#association? ⇒ Boolean
312 313 314 |
# File 'lib/pinspec/types.rb', line 312 def association? kind == :association end |
#transient? ⇒ Boolean
316 317 318 |
# File 'lib/pinspec/types.rb', line 316 def transient? kind == :transient end |