Module: Boson::Library::Libraries

Included in:
Boson::Library
Defined in:
lib/boson/libraries.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#gemsObject (readonly)

Returns the value of attribute gems.



51
52
53
# File 'lib/boson/libraries.rb', line 51

def gems
  @gems
end

Instance Method Details

#local?Boolean

Returns:

  • (Boolean)


52
53
54
55
# File 'lib/boson/libraries.rb', line 52

def local?
  is_a?(LocalFileLibrary) ||
    (Boson.local_repo && Boson.local_repo.dir == repo_dir)
end