diff options
author | elijah <elijah@riseup.net> | 2014-11-22 10:00:02 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-11-22 10:00:02 -0800 |
commit | 548f49182338151afcea3bada835ce646c367181 (patch) | |
tree | f8d4261e3ba59ed33434cf927bd9c3f9ab63f394 | |
parent | bc8e62a89d98648c9197f4feaeb1933441faba9f (diff) | |
download | leap_cli-548f49182338151afcea3bada835ce646c367181.tar.gz leap_cli-548f49182338151afcea3bada835ce646c367181.tar.bz2 |
issue a warning if the platform.rb in the platform is incompatible with leap_cli
-rw-r--r-- | lib/leap/platform.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/leap/platform.rb b/lib/leap/platform.rb index 6938fb3..3e1d138 100644 --- a/lib/leap/platform.rb +++ b/lib/leap/platform.rb @@ -75,6 +75,14 @@ module Leap end end + def method_missing(method, *args) + puts + puts "WARNING:" + puts " leap_cli is out of date and does not understand `#{method}`." + puts " called from: #{caller.first}" + puts " please upgrade to a newer leap_cli" + end + end end |