Class: MysqlInspector::Grep::Subset
- Inherits:
-
Struct
- Object
- Struct
- MysqlInspector::Grep::Subset
- Defined in:
- lib/mysql_inspector/grep.rb
Instance Attribute Summary collapse
-
#columns ⇒ Object
Returns the value of attribute columns.
-
#constraints ⇒ Object
Returns the value of attribute constraints.
-
#indices ⇒ Object
Returns the value of attribute indices.
Instance Method Summary collapse
Instance Attribute Details
#columns ⇒ Object
Returns the value of attribute columns
42 43 44 |
# File 'lib/mysql_inspector/grep.rb', line 42 def columns @columns end |
#constraints ⇒ Object
Returns the value of attribute constraints
42 43 44 |
# File 'lib/mysql_inspector/grep.rb', line 42 def constraints @constraints end |
#indices ⇒ Object
Returns the value of attribute indices
42 43 44 |
# File 'lib/mysql_inspector/grep.rb', line 42 def indices @indices end |
Instance Method Details
#any_matches? ⇒ Boolean
43 44 45 |
# File 'lib/mysql_inspector/grep.rb', line 43 def any_matches? (columns + indices + constraints).any? end |