Sha256: 3802aa69d2728711bba111e7044ed4ef0f125de26b7552c6c40ef2f4c3b031d8

Contents?: true

Size: 181 Bytes

Versions: 3

Compression:

Stored size: 181 Bytes

Contents

module ControlCenter
  class TabBuilder
  
    def initialize(&block)
      @block = block
    end
    
    def tab(tab_name, url)
      @block.call(tab_name, url)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
commondream-control_center-0.99.1 lib/tab_builder.rb
commondream-control_center-0.99.2 lib/tab_builder.rb
commondream-control_center-1.0.0 lib/tab_builder.rb