class StrongJSON
Constants
- VERSION
@dynamic initialize, let
Public Class Methods
new(&block)
click to toggle source
# File lib/strong_json.rb, line 8 def initialize(&block) instance_eval(&block) end
Public Instance Methods
let(name, type)
click to toggle source
# File lib/strong_json.rb, line 12 def let(name, type) define_singleton_method(name) { type.with_alias(name) } end