lib/command/send.rb in narou-1.0.2 vs lib/command/send.rb in narou-1.1.0.rc1

- old
+ new

@@ -31,16 +31,12 @@ EOS end def get_device(argv) if Device.exists?(argv.first) - return Device.new(argv.shift) + return Narou.get_device(argv.shift) end - local_setting_device = LocalSetting.get["local_setting"]["device"] - if local_setting_device - return Device.new(local_setting_device) - end - nil + Narou.get_device end def execute(argv) super if argv.empty?