class ReadmeSpec::Markdown::Code

Public Class Methods

new(pre_text) click to toggle source
# File lib/readme_spec.rb, line 84
def initialize(pre_text)
  @pre_text = pre_text
end

Public Instance Methods

language() click to toggle source
# File lib/readme_spec.rb, line 92
def language
  @pre_text[:language]
end
text() click to toggle source
# File lib/readme_spec.rb, line 88
def text
  @pre_text[:code]
end