Class: H8::Command::FileProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/h8/command.rb

Instance Method Summary collapse

Instance Method Details

#basename(str) ⇒ Object



87
88
89
# File 'lib/h8/command.rb', line 87

def basename str
  File.basename str
end

#dirname(str) ⇒ Object



79
80
81
# File 'lib/h8/command.rb', line 79

def dirname str
  File.dirname str
end

#expand_path(str) ⇒ Object



91
92
93
# File 'lib/h8/command.rb', line 91

def expand_path str
  File.expand_path str
end

#extname(str) ⇒ Object



83
84
85
# File 'lib/h8/command.rb', line 83

def extname str
  File.extname str
end