Class: Mandy::HdfsLocation

Inherits:
Object
  • Object
show all
Defined in:
lib/mandy/support/hdfs_location.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ HdfsLocation

Returns a new instance of HdfsLocation.



5
6
7
# File 'lib/mandy/support/hdfs_location.rb', line 5

def initialize(path)
  @path = path
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



3
4
5
# File 'lib/mandy/support/hdfs_location.rb', line 3

def path
  @path
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/mandy/support/hdfs_location.rb', line 9

def to_s
  @path
end