Module: Card::Set::Type::Json::HtmlFormat

Extended by:
AbstractFormat
Defined in:
card/tmpsets/set/mod008-card-mod-format/type/json.rb,
card/tmpsets/set/mod007-card-mod-format/type/json.rb

Instance Method Summary collapse

Instance Method Details

#ace_modeObject



45
46
47
# File 'card/tmpsets/set/mod008-card-mod-format/type/json.rb', line 45

def ace_mode
  :json
end

#input_typeObject



41
42
43
# File 'card/tmpsets/set/mod008-card-mod-format/type/json.rb', line 41

def input_type
  :ace_editor
end

#view: coreObject



37
38
39
# File 'card/tmpsets/set/mod008-card-mod-format/type/json.rb', line 37

view :core do
  process_content ::CodeRay.scan(_render_raw, :json).div
end