Class: Enolib::Empty

Inherits:
ElementBase show all
Defined in:
lib/enolib/elements/empty.rb

Instance Method Summary collapse

Methods inherited from ElementBase

#comment_error, #error, #initialize, #key, #key_error, #optional_comment, #optional_string_comment, #raw, #required_comment, #required_string_comment, #string_key, #touch

Constructor Details

This class inherits a constructor from Enolib::ElementBase

Instance Method Details

#to_sObject



5
6
7
# File 'lib/enolib/elements/empty.rb', line 5

def to_s
  "#<Enolib::Empty key=#{@instruction[:key]}>"
end