Sha256: 6b9e990b79db0df37f0b3eedc756c8ff6549bef1dbb835b9d514ff4c410ebff3

Contents?: true

Size: 451 Bytes

Versions: 60

Compression:

Stored size: 451 Bytes

Contents

<?
feature_path.gsub!(" ","/")
html_content = unless (feature_path.start_with? "features")
  "<h3>Could not find the requestes feature file</h3>"
  else
  	name = feature_path.split("/").last.split(".").first.capitalize.gsub("_"," ")
  	content = IO.read("#{Dir.pwd}/#{feature_path}")
  	"<h3>#{feature_path.gsub("/","&nbsp;&gt;&nbsp;")}</h3><br><br>" +
  	Mutx::View::Parser.feature_html(content)
  end
?>
<div class="well">
  {{html_content}}
</div>

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
mutx-0.2.9 lib/mutx/view/features/file.mote
mutx-0.2.8 lib/mutx/view/features/file.mote
mutx-0.2.7 lib/mutx/view/features/file.mote
mutx-0.2.6 lib/mutx/view/features/file.mote
mutx-0.2.5 lib/mutx/view/features/file.mote
mutx-0.2.4 lib/mutx/view/features/file.mote
mutx-0.2.3 lib/mutx/view/features/file.mote
mutx-0.2.2 lib/mutx/view/features/file.mote
mutx-0.2.1 lib/mutx/view/features/file.mote
mutx-0.2.0 lib/mutx/view/features/file.mote
mutx-0.1.69 lib/mutx/view/features/feature.mote
mutx-0.1.68 lib/mutx/view/features/feature.mote
mutx-0.1.67 lib/mutx/view/features/feature.mote
mutx-0.1.66 lib/mutx/view/features/feature.mote
mutx-0.1.65 lib/mutx/view/features/feature.mote
mutx-0.1.64 lib/mutx/view/features/feature.mote
mutx-0.1.63 lib/mutx/view/features/feature.mote
mutx-0.1.62 lib/mutx/view/features/feature.mote
mutx-0.1.61 lib/mutx/view/features/feature.mote
mutx-0.1.60 lib/mutx/view/features/feature.mote