Class: Erbside::Ruby
Overview
Ruby
Constant Summary collapse
- EXTENSIONS =
%w{.rb}
Constants inherited from Inline
Instance Attribute Summary
Attributes inherited from Inline
#context, #file, #result, #type
Class Method Summary collapse
-
.extensions ⇒ Object
Ruby file extensions.
Instance Method Summary collapse
Methods inherited from Inline
#block_match, #block_parts, #changed?, #content, #exist?, extension_list, factory, #format_block, #format_side, inherited, #initialize, #line_match, map, #output, register, #relative_output, #remarker_multiline, #render, #render_blocks, #render_result, #render_sides, #render_template, #save
Constructor Details
This class inherits a constructor from Erbside::Inline
Class Method Details
.extensions ⇒ Object
Ruby file extensions.
12 13 14 |
# File 'lib/erbside/inline/ruby.rb', line 12 def self.extensions EXTENSIONS end |
Instance Method Details
#remarker ⇒ Object
17 18 19 |
# File 'lib/erbside/inline/ruby.rb', line 17 def remarker '#' end |
#remarker_block_begin ⇒ Object
22 23 24 |
# File 'lib/erbside/inline/ruby.rb', line 22 def remarker_block_begin '=begin' end |
#remarker_block_end ⇒ Object
27 28 29 |
# File 'lib/erbside/inline/ruby.rb', line 27 def remarker_block_end '=end' end |