Class: Pendulum::DSL::Output::Result
- Defined in:
- lib/pendulum/dsl/output/result.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ Result
constructor
A new instance of Result.
- #to_url ⇒ Object
Methods included from Helper
Constructor Details
#initialize(name) ⇒ Result
Returns a new instance of Result.
5 6 7 8 |
# File 'lib/pendulum/dsl/output/result.rb', line 5 def initialize(name) @name = name super() end |
Instance Method Details
#to_url ⇒ Object
10 11 12 13 |
# File 'lib/pendulum/dsl/output/result.rb', line 10 def to_url url = "#{@name}:#{@table}" (url, :schema, :method, :mode) end |