lib/oci8_simple/describe.rb in oci8_simple-0.9.2 vs lib/oci8_simple/describe.rb in oci8_simple-1.0.0
- old
+ new
@@ -43,11 +43,11 @@
def self.run_from_argv
o = parse_options(self.usage)
if(ARGV[0].nil?)
puts o
else
- puts self.new(ARGV[1]).run(ARGV[0])
+ puts self.new(@options[:environment]).run(ARGV[0])
end
end
private
@@ -121,6 +121,6 @@
def client
@client ||= Oci8Simple::Client.new(@env)
end
end
-end
\ No newline at end of file
+end