Module: XRB::Script

Defined in:
lib/xrb/markup.rb

Class Method Summary collapse

Class Method Details

.json(value) ⇒ Object



63
64
65
# File 'lib/xrb/markup.rb', line 63

def self.json(value)
  MarkupString.new(JSON.dump(value), false)
end