thorncp / fsck Goto Github PK
View Code? Open in Web Editor NEWA Ruby gem that allows you to be yourself
License: MIT License
A Ruby gem that allows you to be yourself
License: MIT License
Contemplate having respond_to? handle a fscked method before it's called.
Fsck doesn't seem to work with punctuation and added words at the end of the method name.
ruby-1.9.2-p0 :001 > require "fsck/deep"
=> true
ruby-1.9.2-p0 :002 > Fsck.is_a? Module
=> true
ruby-1.9.2-p0 :003 > Fsck.wut_is_a? Module
=> true
ruby-1.9.2-p0 :004 > Fsck.is_a_fscking_awesome? Module
NoMethodError: undefined method `is_a_fscking_awesome?' for Fsck:Module
/Users/chris/.rvm/scripts/irbrc.rb:32:in `initialize': can't convert String to Hash (String#to_hash gives Fixnum) (TypeError)
from /Users/chris/.rvm/scripts/irbrc.rb:32:in `open'
from /Users/chris/.rvm/scripts/irbrc.rb:32:in `block in <top (required)>'
/Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/workspace.rb:100:in `sub!': can't convert String to Hash (String#to_hash gives Fixnum) (TypeError)
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/workspace.rb:100:in `filter_backtrace'
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:180:in `block (3 levels) in eval_input'
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:179:in `each'
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:179:in `block (2 levels) in eval_input'
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:273:in `signal_status'
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input'
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement'
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop'
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement'
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch'
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement'
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:155:in `eval_input'
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:70:in `block in start'
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:69:in `catch'
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:69:in `start'
from /Users/chris/.rvm/rubies/ruby-1.9.2-p0/bin/irb:16:in `<main>'
hash.what_i_need_is_each_set_of_key_plus_value { |k,v| puts k } will output the value as opposed to key (as expected).
It appears that fsck is grabbing each, then shoving it together with value to give you each_value, which is not what was expected (Expect .each).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.