Module: ContentsCore
- Defined in:
- lib/contents_core.rb,
lib/contents_core/blocks.rb,
lib/contents_core/engine.rb,
lib/contents_core/version.rb,
app/models/contents_core/item.rb,
app/models/contents_core/block.rb,
app/models/contents_core/item_file.rb,
app/models/contents_core/item_hash.rb,
app/models/contents_core/item_text.rb,
app/models/contents_core/item_float.rb,
app/models/contents_core/item_string.rb,
app/models/contents_core/item_boolean.rb,
app/models/contents_core/item_integer.rb,
app/models/contents_core/item_datetime.rb,
app/models/contents_core/application_record.rb
Defined Under Namespace
Modules: Blocks
Classes: ApplicationRecord, Block, Engine, Item, ItemBoolean, ItemDatetime, ItemFile, ItemFloat, ItemHash, ItemInteger, ItemString, ItemText
Constant Summary
collapse
- VERSION =
'0.1.0'
Class Method Summary
collapse
Class Method Details
.config(options = {}) ⇒ Object
5
6
7
8
|
# File 'lib/contents_core.rb', line 5
def self.config( options = {} )
@@config.merge! options
@@config
end
|
.editing(editing = nil) ⇒ Object
10
11
12
13
|
# File 'lib/contents_core.rb', line 10
def self.editing( editing = nil )
@@editing = editing unless editing.nil?
@@editing
end
|