Class: Ryb::Library

Instance Method Summary collapse

Methods included from Properties::Configurations

included

Methods included from Properties::Targets

included

Methods included from Properties::Architectures

included

Methods included from Properties::Dependencies

included

Methods included from Properties::Files

included

Methods included from Properties::Paths

included

Methods included from Properties::Flags

included

Methods included from Properties::Defines

included

Methods included from Properties::Named

included

Constructor Details

#initialize(name, opts = {}) {|_self| ... } ⇒ Library

Returns a new instance of Library.

Yields:

  • (_self)

Yield Parameters:

  • _self (Ryb::Library)

    the object that the method was called on



19
20
21
22
# File 'lib/ryb/library.rb', line 19

def initialize(name, opts={})
  @name = Name.new(name, opts[:pretty])
  yield self if block_given?
end

Instance Method Details

#linkageObject



24
# File 'lib/ryb/library.rb', line 24

def linkage; @linkage ||= :static; end

#linkage=(new_linkage) ⇒ Object



25
26
27
# File 'lib/ryb/library.rb', line 25

def linkage=(new_linkage)
  @linkage = new_linkage
end