class BSB::BaseGenerator

Attributes

hash[R]

Public Class Methods

new(hash) click to toggle source
# File lib/bsb/base_generator.rb, line 9
def initialize(hash)
  @hash = hash
end

Public Instance Methods

json() click to toggle source
# File lib/bsb/base_generator.rb, line 13
def json
  JSON.pretty_generate(@hash)
end