Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/remoting/dsl/string.rb

Instance Method Summary collapse

Instance Method Details

#>(arg) ⇒ Object



2
3
4
5
6
# File 'lib/remoting/dsl/string.rb', line 2

def > (arg)
  self << " > " << "#{arg}"  
  arg.clear
  self
end

#>>(arg) ⇒ Object



8
9
10
11
12
# File 'lib/remoting/dsl/string.rb', line 8

def >> (arg)
  self << " >> " << "#{arg}"  
  arg.clear
  self
end

#join(*args) ⇒ Object



20
21
22
# File 'lib/remoting/dsl/string.rb', line 20

def join(*args)
  Pathname.new(self).join(*args).to_s
end

#|(arg) ⇒ Object



14
15
16
17
18
# File 'lib/remoting/dsl/string.rb', line 14

def | (arg)
  self << " | " << "#{arg}"  
  arg.clear
  self
end