Module: Hurl

Defined in:
lib/hurl.rb

Constant Summary collapse

VERSION =
'0.0.4'

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dirObject

Returns the value of attribute dir.



14
15
16
# File 'lib/hurl.rb', line 14

def dir
  @dir
end

Instance Method Details

#create_tab(&block) ⇒ Object



20
21
22
# File 'lib/hurl.rb', line 20

def create_tab(&block)
  @wrapper.create_tab(&block)
end

#this_tab(&block) ⇒ Object



24
25
26
# File 'lib/hurl.rb', line 24

def this_tab(&block)
  @wrapper.this_tab(&block)
end

#using(klass) ⇒ Object



16
17
18
# File 'lib/hurl.rb', line 16

def using(klass)
  @wrapper = klass.new(@dir)
end