Class: Codeshift::Options
- Inherits:
-
Object
- Object
- Codeshift::Options
- Defined in:
- lib/codeshift/options.rb
Instance Attribute Summary collapse
-
#file_path ⇒ Object
Returns the value of attribute file_path.
-
#transform ⇒ Object
Returns the value of attribute transform.
Instance Method Summary collapse
-
#initialize ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize ⇒ Options
Returns a new instance of Options.
8 9 10 11 |
# File 'lib/codeshift/options.rb', line 8 def initialize @file_path = nil @transform = './transform.rb' end |
Instance Attribute Details
#file_path ⇒ Object
Returns the value of attribute file_path.
5 6 7 |
# File 'lib/codeshift/options.rb', line 5 def file_path @file_path end |
#transform ⇒ Object
Returns the value of attribute transform.
6 7 8 |
# File 'lib/codeshift/options.rb', line 6 def transform @transform end |