Module: Baltix::Space::Spec

Defined in:
lib/baltix/space/spec.rb

Class Method Summary collapse

Class Method Details

.load_from(source_in, options = nil) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/baltix/space/spec.rb', line 3

def load_from source_in, options = nil
   space = Baltix::Space.new(options: options)
   spec = Baltix::Spec.load_from(source: source_in, space: space)
   space.spec = spec

   space
end