Class: Codeshift::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/codeshift/options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOptions

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_pathObject

Returns the value of attribute file_path.



5
6
7
# File 'lib/codeshift/options.rb', line 5

def file_path
  @file_path
end

#transformObject

Returns the value of attribute transform.



6
7
8
# File 'lib/codeshift/options.rb', line 6

def transform
  @transform
end