Class: Separator
- Inherits:
-
Object
- Object
- Separator
- Defined in:
- app/models/chunk.rb
Instance Attribute Summary collapse
-
#num_lines ⇒ Object
readonly
Returns the value of attribute num_lines.
Instance Method Summary collapse
-
#initialize(num_lines) ⇒ Separator
constructor
A new instance of Separator.
- #separator? ⇒ Boolean
Constructor Details
#initialize(num_lines) ⇒ Separator
Returns a new instance of Separator.
50 51 52 |
# File 'app/models/chunk.rb', line 50 def initialize(num_lines) @num_lines = num_lines end |
Instance Attribute Details
#num_lines ⇒ Object (readonly)
Returns the value of attribute num_lines.
48 49 50 |
# File 'app/models/chunk.rb', line 48 def num_lines @num_lines end |
Instance Method Details
#separator? ⇒ Boolean
54 |
# File 'app/models/chunk.rb', line 54 def separator?; true; end |