Class: Most::Path

Inherits:
String show all
Defined in:
lib/most/structures/types/path.rb

Instance Method Summary collapse

Constructor Details

#initialize(path = '') ⇒ Path

Returns a new instance of Path.



30
31
32
# File 'lib/most/structures/types/path.rb', line 30

def initialize(path = '')
  super(path)
end

Instance Method Details

#expand_pathObject



34
35
36
# File 'lib/most/structures/types/path.rb', line 34

def expand_path()
  File.expand_path(self)
end