Class: RuboCop::Schema::AsciiDoc::Stringifier
- Inherits:
-
Object
- Object
- RuboCop::Schema::AsciiDoc::Stringifier
- Includes:
- Helpers
- Defined in:
- lib/rubocop/schema/ascii_doc/stringifier.rb
Instance Method Summary collapse
Methods included from Helpers
#boolean, #deep_dup, #deep_merge, #http_get, #strip_html, #template, templates
Instance Method Details
#stringify(section) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/rubocop/schema/ascii_doc/stringifier.rb', line 10 def stringify(section) method = :"stringify_#{section.context}" raise "Don't know what to do with #{section.context}" unless private_methods(false).include? method __send__(method, section) end |