class Bundler::Thor::CoreExt::HashWithIndifferentAccess
def method_missing(method, *args, &block)
options.test_framework?(:rspec) # => options[:test_framework] == :rspec
options.shebang # => "/usr/lib/local/ruby"
options.force? # => !!options['force']
Magic predicates. For instance:
def method_missing(method, *args, &block) method = method.to_s if method =~ /^(\w+)\?$/ if args.empty? !!self[$1] else self[$1] == args.first end else self[method] end end