Module: Ethon::Easy::Options
- Included in:
- Ethon::Easy
- Defined in:
- lib/ethon/easy/options.rb
Overview
This module contains the logic and knowledge about the available options on easy.
Instance Attribute Summary collapse
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#url ⇒ Object
Returns the value of attribute url.
7 8 9 |
# File 'lib/ethon/easy/options.rb', line 7 def url @url end |
Instance Method Details
#escape=(b) ⇒ Object
14 15 16 |
# File 'lib/ethon/easy/options.rb', line 14 def escape=( b ) @escape = b end |
#escape? ⇒ Boolean
18 19 20 21 |
# File 'lib/ethon/easy/options.rb', line 18 def escape? return true if @escape @escape.nil? ? true : false end |