Class: VimColorScheme::RawNode
- Inherits:
-
Object
- Object
- VimColorScheme::RawNode
- Defined in:
- lib/vimcolorscheme/raw_node.rb
Instance Method Summary collapse
-
#initialize(raw) ⇒ RawNode
constructor
The raw node gets initialized with a string.
-
#to_s ⇒ Object
Just returns the value that was passed into the constructor of this object.
Constructor Details
#initialize(raw) ⇒ RawNode
The raw node gets initialized with a string. This string will later just be printed as-is into the vim file.
5 6 7 |
# File 'lib/vimcolorscheme/raw_node.rb', line 5 def initialize raw @raw = raw end |
Instance Method Details
#to_s ⇒ Object
Just returns the value that was passed into the constructor of this object.
11 12 13 |
# File 'lib/vimcolorscheme/raw_node.rb', line 11 def to_s @raw + "\n" end |