class Fried::Test::GetOptions
Public Class Methods
build()
click to toggle source
# File lib/fried/test/get_options.rb, line 6 def self.build new end
call()
click to toggle source
# File lib/fried/test/get_options.rb, line 10 def self.call instance = build instance.() end
Public Instance Methods
call(argv)
click to toggle source
@param argv [Array<String>] @return [Options]
# File lib/fried/test/get_options.rb, line 17 def call(argv) file = ARGV.last Options.build(file: file) end