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.



246
247
248
249
# File 'lib/copland/package.rb', line 246

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

#fixate!Object

Does nothing.



252
253
254
# File 'lib/copland/package.rb', line 252

def fixate!
  # does nothing
end

#fixated?Boolean

Returns true.

Returns:

  • (Boolean)


257
258
259
# File 'lib/copland/package.rb', line 257

def fixated?
  true
end