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

Extended by:
AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod004-format/type/json.rb

Instance Method Summary collapse

Instance Method Details

#ace_modeObject



45
46
47
# File 'platypus/tmp/set/gem-defaults/mod004-format/type/json.rb', line 45

def ace_mode
  :json
end

#input_typeObject



41
42
43
# File 'platypus/tmp/set/gem-defaults/mod004-format/type/json.rb', line 41

def input_type
  :ace_editor
end

#view: coreObject



37
38
39
# File 'platypus/tmp/set/gem-defaults/mod004-format/type/json.rb', line 37

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