Class: Pinspec::Index
- Inherits:
-
Data
- Object
- Data
- Pinspec::Index
- Defined in:
- lib/pinspec/types.rb
Instance Attribute Summary collapse
-
#columns ⇒ Object
readonly
Returns the value of attribute columns.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#unique ⇒ Object
readonly
Returns the value of attribute unique.
-
#where ⇒ Object
readonly
Returns the value of attribute where.
Instance Method Summary collapse
Instance Attribute Details
#columns ⇒ Object (readonly)
Returns the value of attribute columns
418 419 420 |
# File 'lib/pinspec/types.rb', line 418 def columns @columns end |
#name ⇒ Object (readonly)
Returns the value of attribute name
418 419 420 |
# File 'lib/pinspec/types.rb', line 418 def name @name end |
#unique ⇒ Object (readonly)
Returns the value of attribute unique
418 419 420 |
# File 'lib/pinspec/types.rb', line 418 def unique @unique end |
#where ⇒ Object (readonly)
Returns the value of attribute where
418 419 420 |
# File 'lib/pinspec/types.rb', line 418 def where @where end |
Instance Method Details
#partial? ⇒ Boolean
423 424 425 |
# File 'lib/pinspec/types.rb', line 423 def partial? !where.nil? end |
#unique? ⇒ Boolean
419 420 421 |
# File 'lib/pinspec/types.rb', line 419 def unique? unique == true end |