Class: Greenhouse::Resources::IgnoreFile::IgnoredFile
- Inherits:
-
Object
- Object
- Greenhouse::Resources::IgnoreFile::IgnoredFile
- Defined in:
- lib/greenhouse/resources/ignore_file.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
Returns the value of attribute file.
-
#line ⇒ Object
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(file, line) ⇒ IgnoredFile
constructor
A new instance of IgnoredFile.
- #inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(file, line) ⇒ IgnoredFile
Returns a new instance of IgnoredFile.
76 77 78 79 |
# File 'lib/greenhouse/resources/ignore_file.rb', line 76 def initialize(file, line) @file = file @line = line end |
Instance Attribute Details
#file ⇒ Object
Returns the value of attribute file.
66 67 68 |
# File 'lib/greenhouse/resources/ignore_file.rb', line 66 def file @file end |
#line ⇒ Object
Returns the value of attribute line.
66 67 68 |
# File 'lib/greenhouse/resources/ignore_file.rb', line 66 def line @line end |
Instance Method Details
#inspect ⇒ Object
72 73 74 |
# File 'lib/greenhouse/resources/ignore_file.rb', line 72 def inspect to_s end |
#to_s ⇒ Object
68 69 70 |
# File 'lib/greenhouse/resources/ignore_file.rb', line 68 def to_s @file.to_s end |