-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f939c35
commit 67be5eb
Showing
39 changed files
with
1,038 additions
and
617 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
302 changes: 151 additions & 151 deletions
302
rdoc-adapters/classes/Sequel/MySQL/DatasetMethods.html
Large diffs are not rendered by default.
Oops, something went wrong.
534 changes: 267 additions & 267 deletions
534
rdoc-adapters/classes/Sequel/Postgres/DatasetMethods.html
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | ||
<html lang='en'> | ||
<head> | ||
<title>Sequel::Plugins::InspectPk</title> | ||
<meta name='viewport' content='width=device-width, initial-scale=1'> | ||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'> | ||
<link href='../../../css/style.css' media='screen' rel='stylesheet' type='text/css'> | ||
<script type='text/javascript'> | ||
function popupCode(url) { | ||
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") | ||
} | ||
|
||
function toggleCode(id) { | ||
var code = document.getElementById(id) | ||
|
||
code.style.display = code.style.display != 'block' ? 'block' : 'none' | ||
return true | ||
} | ||
|
||
// Make codeblocks hidden by default | ||
document.writeln('<' + 'style type="text/css">.method .source pre { display: none }<\/style>') | ||
</script> | ||
</head> | ||
<body class='page'> | ||
<div class='class' id='wrapper'> | ||
<div class='header'> | ||
<h1 class='name'><span class='type'>module</span> | ||
Sequel::Plugins::InspectPk | ||
</h1> | ||
<ol class='paths'> | ||
<li> | ||
<a href="../../../files/lib/sequel/plugins/inspect_pk_rb.html">lib/sequel/plugins/inspect_pk.rb</a> | ||
</li> | ||
</ol> | ||
</div> | ||
<div id='content'> | ||
<div id='text'> | ||
<div id='description'> | ||
<p>The inspect_pk plugin includes the pk right next to the model name in inspect, allowing for easily copying and pasting to retrieve a copy of the object:</p> | ||
|
||
<pre class="ruby"><span class="ruby-constant">Album</span>.<span class="ruby-identifier">with_pk</span>(<span class="ruby-value">1</span>).<span class="ruby-identifier">inspect</span> | ||
<span class="ruby-comment"># default: #<Album @values={...}></span> | ||
<span class="ruby-comment"># with inspect_pk: #<Album[1] @values={...}></span> | ||
</pre> | ||
|
||
<p>Usage:</p> | ||
|
||
<pre class="ruby"><span class="ruby-comment"># Make all model instances include pk in inspect output</span> | ||
<span class="ruby-constant">Sequel</span><span class="ruby-operator">::</span><span class="ruby-constant">Model</span>.<span class="ruby-identifier">plugin</span> <span class="ruby-value">:inspect_pk</span> | ||
|
||
<span class="ruby-comment"># Make Album instances include pk in inspect output</span> | ||
<span class="ruby-constant">Album</span>.<span class="ruby-identifier">plugin</span> <span class="ruby-value">:inspect_pk</span> | ||
</pre> | ||
</div> | ||
<div id='context'> | ||
</div> | ||
<div id='class-list'> | ||
<h2>Classes and Modules</h2> | ||
<ol> | ||
<li><a href="InspectPk/InstanceMethods.html">Sequel::Plugins::InspectPk::InstanceMethods</a></li> | ||
</ol> | ||
</div> | ||
<div id='section'> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
<div id='footer-push'></div> | ||
</div> | ||
<div id='footer'> | ||
<a href="https://github.com/jeremyevans/hanna"><strong>Hanna</strong> RDoc template</a> | ||
</div> | ||
</body> | ||
</html> |
53 changes: 53 additions & 0 deletions
53
rdoc-plugins/classes/Sequel/Plugins/InspectPk/InstanceMethods.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | ||
<html lang='en'> | ||
<head> | ||
<title>Sequel::Plugins::InspectPk::InstanceMethods</title> | ||
<meta name='viewport' content='width=device-width, initial-scale=1'> | ||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'> | ||
<link href='../../../../css/style.css' media='screen' rel='stylesheet' type='text/css'> | ||
<script type='text/javascript'> | ||
function popupCode(url) { | ||
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") | ||
} | ||
|
||
function toggleCode(id) { | ||
var code = document.getElementById(id) | ||
|
||
code.style.display = code.style.display != 'block' ? 'block' : 'none' | ||
return true | ||
} | ||
|
||
// Make codeblocks hidden by default | ||
document.writeln('<' + 'style type="text/css">.method .source pre { display: none }<\/style>') | ||
</script> | ||
</head> | ||
<body class='page'> | ||
<div class='class' id='wrapper'> | ||
<div class='header'> | ||
<h1 class='name'><span class='type'>module</span> | ||
Sequel::Plugins::InspectPk::InstanceMethods | ||
</h1> | ||
<ol class='paths'> | ||
<li> | ||
<a href="../../../../files/lib/sequel/plugins/inspect_pk_rb.html">lib/sequel/plugins/inspect_pk.rb</a> | ||
</li> | ||
</ol> | ||
</div> | ||
<div id='content'> | ||
<div id='text'> | ||
<div id='description'></div> | ||
<div id='context'> | ||
</div> | ||
<div id='section'> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
<div id='footer-push'></div> | ||
</div> | ||
<div id='footer'> | ||
<a href="https://github.com/jeremyevans/hanna"><strong>Hanna</strong> RDoc template</a> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | ||
<html lang='en'> | ||
<head> | ||
<title>Sequel::Postgres::SchemaCaching</title> | ||
<meta name='viewport' content='width=device-width, initial-scale=1'> | ||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'> | ||
<link href='../../../css/style.css' media='screen' rel='stylesheet' type='text/css'> | ||
<script type='text/javascript'> | ||
function popupCode(url) { | ||
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") | ||
} | ||
|
||
function toggleCode(id) { | ||
var code = document.getElementById(id) | ||
|
||
code.style.display = code.style.display != 'block' ? 'block' : 'none' | ||
return true | ||
} | ||
|
||
// Make codeblocks hidden by default | ||
document.writeln('<' + 'style type="text/css">.method .source pre { display: none }<\/style>') | ||
</script> | ||
</head> | ||
<body class='page'> | ||
<div class='class' id='wrapper'> | ||
<div class='header'> | ||
<h1 class='name'><span class='type'>module</span> | ||
Sequel::Postgres::SchemaCaching | ||
</h1> | ||
<ol class='paths'> | ||
<li> | ||
<a href="../../../files/lib/sequel/extensions/pg_schema_caching_rb.html">lib/sequel/extensions/pg_schema_caching.rb</a> | ||
</li> | ||
</ol> | ||
</div> | ||
<div id='content'> | ||
<div id='text'> | ||
<div id='description'></div> | ||
<div id='context'> | ||
<div id='includes'> | ||
<h2>Included modules</h2> | ||
<ol> | ||
<li><a href="../SchemaCaching.html">Sequel::SchemaCaching</a></li> | ||
</ol> | ||
</div> | ||
</div> | ||
<div id='section'> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
<div id='footer-push'></div> | ||
</div> | ||
<div id='footer'> | ||
<a href="https://github.com/jeremyevans/hanna"><strong>Hanna</strong> RDoc template</a> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.