Class: Ichabod::Delegate::UI
- Inherits:
-
Object
- Object
- Ichabod::Delegate::UI
- Defined in:
- lib/ichabod/delegate/ui.rb
Instance Attribute Summary collapse
-
#runtime ⇒ Object
readonly
Returns the value of attribute runtime.
Instance Method Summary collapse
-
#initialize(runtime) ⇒ UI
constructor
A new instance of UI.
- #webView(webView, addMessageToConsole: message) ⇒ Object
Constructor Details
#initialize(runtime) ⇒ UI
Returns a new instance of UI.
6 7 8 |
# File 'lib/ichabod/delegate/ui.rb', line 6 def initialize(runtime) @runtime = runtime end |
Instance Attribute Details
#runtime ⇒ Object (readonly)
Returns the value of attribute runtime.
4 5 6 |
# File 'lib/ichabod/delegate/ui.rb', line 4 def runtime @runtime end |
Instance Method Details
#webView(webView, addMessageToConsole: message) ⇒ Object
10 11 12 13 14 |
# File 'lib/ichabod/delegate/ui.rb', line 10 def webView(webView, addMessageToConsole:) puts [:sourceURL] + ":" + [:lineNumber].to_s + " " + [:message] end |