Method: LeanCloud::Configuration#method_missing
- Defined in:
- lib/lean_cloud/configuration.rb
#method_missing(name, *args, &blk) ⇒ Object (private)
25 26 27 28 29 30 31 32 33 |
# File 'lib/lean_cloud/configuration.rb', line 25 def method_missing(name, *args, &blk) if name.to_s =~ /=$/ self[$`.to_sym] = args.first elsif self.key?(name) self[name] else super end end |