Browse Source

Fixed YARD documentation for Database.new.table

master
Yessiest 7 months ago
parent
commit
c5f6a11a8d
  1. 1
      lib/lpgar.rb
  2. 2
      lpgar.gemspec

1
lib/lpgar.rb

@ -357,6 +357,7 @@ module LPGAR
# Create class from table name
# @param name [String]
# @param block [#call]
# @return [Class]
def table(name, &block)
conn = @conn
new_class = Class.new(Record) do

2
lpgar.gemspec

@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "lpgar"
spec.version = "0.2.3"
spec.version = "0.2.4"
spec.summary = "Lightweight Postgres Active Record"
spec.description = <<~DESC
Lightweight implementation of Active Record pattern for Postgres.

Loading…
Cancel
Save