lib/osc_ruby/client.rb in osc_ruby-0.0.13 vs lib/osc_ruby/client.rb in osc_ruby-0.0.14
- old
+ new
@@ -14,10 +14,10 @@
raise ArgumentError, "block not given" unless block_given?
self.config ||= OSCRuby::Configuration.new
yield(config)
check_config
- end
+ end
def check_config
if config.interface ==''
raise ArgumentError, "Interface cannot be nil or blank"
elsif config.username ==''
\ No newline at end of file