Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/ruby
- data = <Oxidized::Node::Stats:0x00000001dcc228>
- puts data["Total"]
- ./test.rb:2: syntax error, unexpected '<'
- data = <Oxidized::Node::Stats:0x00000001dcc228>
- ^
- ./test.rb:2: syntax error, unexpected tINTEGER, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
- data = <Oxidized::Node::Stats:0x00000001dcc228>
- ^
- ./test.rb:3: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
- puts data["Total"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement