Class: WebUnit::Frame
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
— Frame#src reader of ‘src’ attribute.
-
#src ⇒ Object
readonly
— Frame#src reader of ‘src’ attribute.
Attributes inherited from HtmlElem
#array, #attrs, #children, #data, #tag
Instance Method Summary collapse
-
#initialize(ah) ⇒ Frame
constructor
A new instance of Frame.
-
#read ⇒ Object
— Frame#read return a Response of getting of ‘src’ attribute.
Methods inherited from HtmlElem
#append, #extract, #find, #has?, #inspect, #print, #readlink, #search
Constructor Details
#initialize(ah) ⇒ Frame
Returns a new instance of Frame.
11 12 13 14 15 |
# File 'lib/webunit/frame.rb', line 11 def initialize( ah ) super( 'frame', ah ) @src = ah["src"] @name = ah["name"] end |
Instance Attribute Details
#name ⇒ Object (readonly)
— Frame#src
reader of 'src' attribute.
— Frame#name
reader of 'name' attribute.
24 25 26 |
# File 'lib/webunit/frame.rb', line 24 def name @name end |
#src ⇒ Object (readonly)
— Frame#src
reader of 'src' attribute.
— Frame#name
reader of 'name' attribute.
24 25 26 |
# File 'lib/webunit/frame.rb', line 24 def src @src end |