Sha256: 992b74294b417d0108a20588240ab8390f3a96e2573933f5d95f1867c98ab10d

Contents?: true

Size: 257 Bytes

Versions: 3

Compression:

Stored size: 257 Bytes

Contents

$:.push 'lib'; require 'transcriber'

class Customer < Transcriber::Resource
  property :login
  property :name
end

@root = Customer.new(login: 'jackiechan2010')

puts "root.to_input: #{@root.to_input(without_nil: true)}"
puts "root:     #{@root.inspect}"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
transcriber-0.0.26 examples/to_input/without_nil.rb
transcriber-0.0.25 examples/to_input/without_nil.rb
transcriber-0.0.24 examples/to_input/without_nil.rb