class PG::AWS_RDS_IAM::AuthTokenGeneratorRegistry::Memoizer
Public Class Methods
new(&block)
click to toggle source
# File lib/pg/aws_rds_iam/auth_token_generator_registry.rb, line 54 def initialize(&block) @block = block end
Public Instance Methods
call()
click to toggle source
# File lib/pg/aws_rds_iam/auth_token_generator_registry.rb, line 58 def call return @call if defined?(@call) @call = @block.call end