mirror of
https://github.com/github/codeql.git
synced 2026-02-13 13:41:08 +01:00
15 lines
247 B
Ruby
15 lines
247 B
Ruby
# This component has no corresponding template file, because it defines a `call` method instead.
|
|
|
|
class View4 < ViewComponent::Base
|
|
def initialize(x)
|
|
@x = x
|
|
end
|
|
|
|
def get
|
|
@x
|
|
end
|
|
|
|
def call
|
|
"hi"
|
|
end
|
|
end |