Module: Copland::Package::Fixated

Defined in:
lib/copland/package.rb

Overview

This module will be included by the package when it is fixated.

Instance Method Summary collapse

Instance Method Details

#add_pending_contribution(*args) ⇒ Object

Raises DisallowedOperationException.



228
229
230
231
# File 'lib/copland/package.rb', line 228

def add_pending_contribution( *args )
  raise DisallowedOperationException,
    "cannot add pending contributions to fixated package"
end

#fixate!Object

Does nothing.



234
235
236
# File 'lib/copland/package.rb', line 234

def fixate!
  # does nothing
end

#fixated?Boolean

Returns true.

Returns:

  • (Boolean)


239
240
241
# File 'lib/copland/package.rb', line 239

def fixated?
  true
end