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
303 304 305 |
# File 'lib/pinspec/types.rb', line 303 def factory @factory end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
303 304 305 |
# File 'lib/pinspec/types.rb', line 303 def kind @kind end |
#line ⇒ Object (readonly)
Returns the value of attribute line
303 304 305 |
# File 'lib/pinspec/types.rb', line 303 def line @line end |
#name ⇒ Object (readonly)
Returns the value of attribute name
303 304 305 |
# File 'lib/pinspec/types.rb', line 303 def name @name end |
#source ⇒ Object (readonly)
Returns the value of attribute source
303 304 305 |
# File 'lib/pinspec/types.rb', line 303 def source @source end |
Instance Method Details
#association? ⇒ Boolean
304 305 306 |
# File 'lib/pinspec/types.rb', line 304 def association? kind == :association end |
#transient? ⇒ Boolean
308 309 310 |
# File 'lib/pinspec/types.rb', line 308 def transient? kind == :transient end |