Module: ZookeeperStat
- Extended by:
- Zookeeper::Compatibility
- Defined in:
- lib/zookeeper/compatibility.rb
Class Method Summary collapse
Methods included from Zookeeper::Compatibility
Class Method Details
.const_missing(sym) ⇒ Object
57 58 59 60 61 62 63 64 65 |
# File 'lib/zookeeper/compatibility.rb', line 57 def self.const_missing(sym) if sym == :Stat warn "\nZookeeperStat::Stat is now Zookeeper::Stat, please update your code!\n#{clean_backtrace}" # self.const_set(sym, Zookeeper::Stat) Zookeeper::Stat else super end end |