Class: Pattern
- Inherits:
-
Object
- Object
- Pattern
- Defined in:
- lib/check_super_calls/languages/pattern.rb
Instance Attribute Summary collapse
-
#check ⇒ Object
Returns the value of attribute check.
-
#definition ⇒ Object
Returns the value of attribute definition.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, definition, check) ⇒ Pattern
constructor
A new instance of Pattern.
Constructor Details
#initialize(name, definition, check) ⇒ Pattern
Returns a new instance of Pattern.
4 5 6 7 8 |
# File 'lib/check_super_calls/languages/pattern.rb', line 4 def initialize(name, definition, check) @name = name @definition = definition @check = check end |
Instance Attribute Details
#check ⇒ Object
Returns the value of attribute check.
3 4 5 |
# File 'lib/check_super_calls/languages/pattern.rb', line 3 def check @check end |
#definition ⇒ Object
Returns the value of attribute definition.
3 4 5 |
# File 'lib/check_super_calls/languages/pattern.rb', line 3 def definition @definition end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/check_super_calls/languages/pattern.rb', line 3 def name @name end |