Top Level Namespace

Defined Under Namespace

Modules: Crystal, Mime, Tilt Classes: Exception, Module, Object, SafeHash, String

Instance Method Summary collapse

Instance Method Details

#crystal(&block) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/crystal/support/micon.rb', line 7

def crystal &block
  if block
    Crystal.class_eval &block
  else
    Crystal
  end
end