Class: Syobocal::Comment::Element::Blank
- Inherits:
-
Object
- Object
- Syobocal::Comment::Element::Blank
- Defined in:
- lib/syobocal/comment/element/blank.rb
Class Method Summary collapse
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize ⇒ Blank
constructor
A new instance of Blank.
- #inner_text ⇒ Object
Constructor Details
#initialize ⇒ Blank
Returns a new instance of Blank.
5 |
# File 'lib/syobocal/comment/element/blank.rb', line 5 def initialize; end |
Class Method Details
.match?(line) ⇒ Boolean
15 16 17 |
# File 'lib/syobocal/comment/element/blank.rb', line 15 def self.match?(line) line.match(/\A\s*\Z/) end |
Instance Method Details
#==(other) ⇒ Object
7 8 9 |
# File 'lib/syobocal/comment/element/blank.rb', line 7 def ==(other) other.instance_of?(self.class) end |
#inner_text ⇒ Object
11 12 13 |
# File 'lib/syobocal/comment/element/blank.rb', line 11 def inner_text "" end |