Method: Vanity.playground

Defined in:
lib/vanity/vanity.rb

.playground(load_if_needed = true) ⇒ Object

The playground instance.

See Also:



134
135
136
137
138
139
140
# File 'lib/vanity/vanity.rb', line 134

def self.playground(load_if_needed = true)
  if @playground
    @playground
  elsif load_if_needed
    load!
  end
end