Sha256: e396112e3351d132d247f9762ec58a46a03ce8ec43aaaa6f0aa2b455ef56e3a9

Contents?: true

Size: 287 Bytes

Versions: 12

Compression:

Stored size: 287 Bytes

Contents

<p>Wrap inline snippets of code with <code>&lt;code&gt;</code>.

<pre>
  # Wrap larger blocks of code with pre
  def find(*files)
    pathname.ascend do |path|
      file_name = files.detect { |fn| path.join(fn).file? }
      break path.join(file_name) if file_name
    end
  end
</pre>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
style-guide-1.1.1 app/views/bootstrap/typography/_code.erb
style-guide-1.1.0 app/views/bootstrap/typography/_code.erb
style-guide-1.0.0 app/views/bootstrap/typography/_code.erb
style-guide-0.7.4 app/views/bootstrap/typography/_code.erb
style-guide-0.7.3 app/views/bootstrap/typography/_code.erb
style-guide-0.7.2 app/views/bootstrap/typography/_code.erb
style-guide-0.7.0 app/views/bootstrap/typography/_code.erb
style-guide-0.6.2 app/views/style_guide/typography/_code.erb
style-guide-0.6.1 app/views/style_guide/typography/_code.erb
style-guide-0.6.0 app/views/style_guide/typography/_code.erb
style-guide-0.5.0 app/views/style_guide/typography/_code.erb
style-guide-0.4.0 app/views/style_guide/typography/_code.erb