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
378 379 380 |
# File 'lib/pinspec/types.rb', line 378 def columns @columns end |
#name ⇒ Object (readonly)
Returns the value of attribute name
378 379 380 |
# File 'lib/pinspec/types.rb', line 378 def name @name end |
#unique ⇒ Object (readonly)
Returns the value of attribute unique
378 379 380 |
# File 'lib/pinspec/types.rb', line 378 def unique @unique end |
#where ⇒ Object (readonly)
Returns the value of attribute where
378 379 380 |
# File 'lib/pinspec/types.rb', line 378 def where @where end |
Instance Method Details
#partial? ⇒ Boolean
383 384 385 |
# File 'lib/pinspec/types.rb', line 383 def partial? !where.nil? end |
#unique? ⇒ Boolean
379 380 381 |
# File 'lib/pinspec/types.rb', line 379 def unique? unique == true end |