Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/myrrha/to_ruby_literal.rb,
lib/myrrha/coerce.rb
Overview
module Myrrha
Instance Method Summary collapse
-
#to_ruby_literal ⇒ String
Converts self to a ruby literal.
Instance Method Details
#to_ruby_literal ⇒ String
Converts self to a ruby literal
72 73 74 |
# File 'lib/myrrha/to_ruby_literal.rb', line 72 def to_ruby_literal block_given? ? yield : Myrrha.to_ruby_literal(self) end |