Method: Wonderfl::Code#to_s

Defined in:
lib/wonderfl/code.rb

#to_sObject



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/wonderfl/code.rb', line 31

def to_s
  if @code_id
    "Wonderfl::Code {\nthumbnail => \#{@thumbnail}\nparent => \#{@parent}\nmodified_date => \#{@modified_date}\ncompile_ok => \#{@compile_ok}\ncreated_date => \#{@created_date} \nforked_count => \#{@forked_count}\nlicense => \#{@license}\nswf => \#{@swf}\ndiff => \#{@diff}\nuser_icon => \#{@user_icon}\nuser_name => \#{@user_name}\ntitle => \#{@title}\nid => \#{@id}\nfavorite_count => \#{@favorite_count}\n}\n  EOS\n  end\nend\n"