Module: ActsAsLockableBy::Lockable::SingletonMethods

Defined in:
lib/acts_as_lockable_by/lockable.rb

Instance Method Summary collapse

Instance Method Details

#is_lockable?Boolean

rubocop:disable Naming/PredicateName

Returns:

  • (Boolean)


32
33
34
# File 'lib/acts_as_lockable_by/lockable.rb', line 32

def is_lockable?
  lockable?
end

#lockable?Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/acts_as_lockable_by/lockable.rb', line 27

def lockable?
  true
end