Method: PostRunner::ViewFrame#initialize
- Defined in:
- lib/postrunner/ViewFrame.rb
#initialize(title, width = 600, content = nil, &block) ⇒ ViewFrame
Create a ViewFrame object.
24 25 26 27 28 29 |
# File 'lib/postrunner/ViewFrame.rb', line 24 def initialize(title, width = 600, content = nil, &block) @title = title @content = content @block = block @width = width end |