Class: Lolita::Configuration::List

Inherits:
Object
  • Object
show all
Defined in:
lib/lolita-editable-list/configuration/list.rb

Instance Method Summary collapse

Instance Method Details

#editable?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/lolita-editable-list/configuration/list.rb', line 9

def editable?
  self.editable
end

#is_editable(*args, &block) ⇒ Object



5
6
7
# File 'lib/lolita-editable-list/configuration/list.rb', line 5

def is_editable(*args, &block)
  @editable ||= Lolita::Configuration::EditableList.new(self,*args, &block)
end