class Rspec::Usecases::Options::MarkdownOptions

Options for generating MarkDown files from usecases

Public Class Methods

new(config) click to toggle source
# File lib/rspec/usecases/options/markdown_options.rb, line 8
def initialize(config)
  super(:markdown, config, {
    format: :detail,
    print: true,
    write: false,
    file: '',
    pretty: false,
    open: false
  })
end

Public Instance Methods

openable?() click to toggle source
# File lib/rspec/usecases/options/markdown_options.rb, line 31
def openable?
  self.open == true
end
prettier?() click to toggle source
# File lib/rspec/usecases/options/markdown_options.rb, line 27
def prettier?
  pretty == true
end
printable?() click to toggle source
# File lib/rspec/usecases/options/markdown_options.rb, line 19
def printable?
  self.print == true
end
writable?() click to toggle source
# File lib/rspec/usecases/options/markdown_options.rb, line 23
def writable?
  write == true
end