class Jekyll::Aplayer::Type
Constants
- CSS_EXTENSIONS
- HTML_BLOCK_TYPE_MAP
- HTML_EXTENSIONS
- MD_EXTENSIONS
- PROPERTY_DATA_TYPES
Public Class Methods
css?(_ext)
click to toggle source
# File lib/jekyll-aplayer/cores/type.rb, line 53 def self.css?(_ext) CSS_EXTENSIONS.include?(_ext) end
datatype?(property)
click to toggle source
# File lib/jekyll-aplayer/cores/type.rb, line 65 def self.datatype?(property) return PROPERTY_DATA_TYPES[property] if PROPERTY_DATA_TYPES.key?(property) return 'string' end
html?(_ext)
click to toggle source
# File lib/jekyll-aplayer/cores/type.rb, line 49 def self.html?(_ext) HTML_EXTENSIONS.include?(_ext) end
html_block_type(type)
click to toggle source
# File lib/jekyll-aplayer/cores/type.rb, line 61 def self.html_block_type(type) HTML_BLOCK_TYPE_MAP[type] end
markdown?(_ext)
click to toggle source
# File lib/jekyll-aplayer/cores/type.rb, line 57 def self.markdown?(_ext) MD_EXTENSIONS.include?(_ext) end