Method: Y2R::AST::Ruby::Module#to_ruby_base
- Defined in:
- lib/y2r/ast/ruby.rb
#to_ruby_base(context) ⇒ Object
301 302 303 304 305 306 307 |
# File 'lib/y2r/ast/ruby.rb', line 301 def to_ruby_base(context) combine do |parts| parts << "module #{name}" parts << indented(statements, context.with_priority(priority)) parts << "end" end end |